<?php

namespace App\Models\OpenShop\InvestmentPromotion;

use App\Models\BaseModel;

class OpenShopProcessDetailModel extends BaseModel
{
    protected $fillable = [
        'mainProcessId',
        'mainProcessType',
        'mainProcessDesc',
        'processType',
        'processDesc',
        'status',
        'createdAt',
        'createdByUid',
        'updatedAt',
        'updatedAtByUid',
    ];

    protected $table = 'open_shop_process_detail';

    public function signOrderRel()
    {
        return $this->hasOne(OpenShopSignOrderModel::class, 'mainProcessId', 'mainProcessId');
    }
}
